//
//  RNRadioButton.m
//  RecallNote
//
//  Created by Z on 14/12/13.
//  Copyright (c) 2014年 Project. All rights reserved.
//

#import "RNRadioButton.h"

@implementation RNRadioButton

- (void)render
{
    self.type = Radio_Normal;
}

- (void) updateState
{
    switch (self.type)
    {
        case Radio_Normal:
            self.radioImageView.image = [UIImage imageNamed:@"icon_empty"];
            break;
        case Radio_Right:
            self.radioImageView.image = [UIImage imageNamed:@"icon_right"];
            break;
        case Radio_Error:
            self.radioImageView.image = [UIImage imageNamed:@"icon_error"];
            break;
        default:
            break;
    }
}

@end
